package com.example.exceldemo.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @Description
 * @Author xiaohuang
 * @Date 2025/2/19
 */
@Data
@ApiModel("报价表")
public class Quotation {
    /**
     * 序号
     */
    @ApiModelProperty(value = "序号")
    @ExcelProperty(value = "序号",index = 0)
    private Integer index;
    /**
     * 等级
     */
    @ApiModelProperty(value = "等级")
    @ExcelProperty(value = "等级",index = 1)
    private String level;
    /**
     * 客户型号
     */
    @ApiModelProperty(value = "客户型号")
    @ExcelProperty(value = "客户型号",index = 2)
    private String customerModel;
    /**
     * 客户规格
     */
    @ApiModelProperty(value = "客户规格")
    @ExcelProperty(value = "客户规格",index = 4)
    private String customerSpecifications;
    /**
     * 单位
     */
    @ApiModelProperty(value = "单位")
    @ExcelProperty(value = "单位",index = 5)
    private String unit;
    /**
     * 数量
     */
    @ApiModelProperty(value = "数量")
    @ExcelProperty(value = "数量",index = 7)
    private BigDecimal num;
    /**
     * 单价
     */
    @ApiModelProperty(value = "单  价(元/米)")
    @ExcelProperty(value = "单  价(元/米)",index = 8)
    private BigDecimal price;
    /**
     * 金额（元）
     */
    @ApiModelProperty(value = "金额（元）")
    @ExcelProperty(value = "金额（元）",index = 10)
    private BigDecimal totalPrice;
    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    @ExcelProperty(value = "备注",index = 12)
    private String remark;
    /**
     * 颜色
     */
    @ApiModelProperty(value = "颜色")
    @ExcelProperty(value = "颜色",index = 13)
    private String color;



}
